<?php

class EventDetailModel extends RelationModel{    
    protected $_link=array(
        'content'=>array(
            'mapping_type'=>HAS_ONE,
            'class_name'=>'EventTag',
            'foreign_key'=>'id'
        )
    );
}
?>